Telegram Group & Telegram Channel
Функция open()

то еще одна встроенная функция, которую мы, вероятно, используем ежедневно и принимаем как должное. При открытии файла мы обычно пишем.

Выражение with open(...) не считывает файл целиком и не запоминает его в памяти. Вместо этого оно возвращает итерируемый объект типа file. Благодаря этому можно читать огромные файлы и не беспокоиться о памяти.



tg-me.com/pythonist24/1332
Create:
Last Update:

Функция open()

то еще одна встроенная функция, которую мы, вероятно, используем ежедневно и принимаем как должное. При открытии файла мы обычно пишем.

Выражение with open(...) не считывает файл целиком и не запоминает его в памяти. Вместо этого оно возвращает итерируемый объект типа file. Благодаря этому можно читать огромные файлы и не беспокоиться о памяти.

BY Python обучающий




Share with your friend now:
tg-me.com/pythonist24/1332

View MORE
Open in Telegram


Python обучающий Telegram | DID YOU KNOW?

Date: |

Mr. Durov launched Telegram in late 2013 with his brother, Nikolai, just months before he was pushed out of VK, the Russian social-media platform he founded. Mr. Durov pitched his new app—funded with the proceeds from the VK sale—less as a business than as a way for people to send messages while avoiding government surveillance and censorship.

Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.

Python обучающий from sg


Telegram Python обучающий
FROM USA